package cn.coco.jf.fw.admin.util;

import java.util.List;

import cn.coco.jf.fw.admin.cache.SysCacheManager;
import cn.coco.jf.fw.admin.config.JkwebJson;
import cn.coco.jf.fw.admin.model.DictModel;

public class SysUtil {
    
	@Deprecated
    public static final String getDictListJson(String ptnType){
        return JkwebJson.toJsonStr(SysCacheManager.getDictList(ptnType));
    }
    
	@Deprecated
    public static final List<DictModel> getDictList(String ptnType){
        return SysCacheManager.getDictList(ptnType);
    }
    
	@Deprecated
    public static final String getDictCodeName(String ptnType, String code) {
        return SysCacheManager.getDictCodeName(ptnType, code);
    }
}
